package com.pig4cloud.pig.village.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 特殊家庭
 * @author Will Hu
 * @date 2022.3.26
 */
@Getter
public enum SpecialFamily {
	LOST_OF_ONLY_CHILD(0, "失独家庭"),
	SPECIAL_SUPPORT(1, "特扶家庭");

	SpecialFamily(int code, String description) {
		this.code = code;
		this.description = description;
	}

	@EnumValue
	@JsonValue
	private final int code;
	private final String description;
}
